package com.cskaoyan.service;

import com.cskaoyan.mapper.UserMapper;
import com.cskaoyan.vo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author stone
 * @date 2022/03/31 17:05
 */
@Service
public class UserServiceImpl implements UserService{

    @Autowired
    UserMapper userMapper;

    @Override
    public User[] queryUsers(Integer[] ids) {
        return userMapper.selectUsersByIdArray(ids);
    }
}
